package com.jky.stmall.front.service;

import com.jky.stmall.front.entity.User;

public interface UserService {
    int reg(String username,String password,String rePassword) throws Exception;
    User login(User user) throws Exception;
    //修改密码
    int modifyPwd(String username,String oldPassword,
                  String newPassword,String rePassword) throws Exception;
    //修改信息
    int edit(User user) throws Exception;
    //修改支付密码
    int modifyPayPwd(String username,String password,
                  String payPassword,String rePassword) throws Exception;
}
